const state = {
    status: 7,      // 1 == 账套登录 2 == 会员登录 3 == 注册 4 == 手机号登录 5 == 用户协议 6 == 忘记密码 7 == 查看账套
    isAgree: false,     //默认不选中同意协议框
    time: 300,       //验证码秒数
}

const mutations = {
    updateStatus(state, n) {    //更新登录状态
        state.status = n;
    },
    updateIsAgree(state, bool) {
        state.isAgree = bool;
    },
    updateTime(state, second) {
        state.time = second;
    }
}

const actions = {}

export default {
    namespaced: true,
    state,
    mutations,
    actions
}